Cohesion order
- 2025-10-18
코드를 수정하기 전에 일단 관련된 코드들을 근처로 옮겨놓기. 타이딩 중 하나.
Reorder the code so the elements you need to change are adjacent. Cohesion order works for routines in a file: if two routines are coupled, put them next to each other.
코드를 수정하기 전에 일단 관련된 코드들을 근처로 옮겨놓기. 타이딩 중 하나.
Reorder the code so the elements you need to change are adjacent. Cohesion order works for routines in a file: if two routines are coupled, put them next to each other.